#ifndef IMAGEVIEWER_H
#define IMAGEVIEWER_H

#include <QWidget>

namespace Jcr
{
class ImageViewPrivate;
class ImageViewer : public QWidget
{
    Q_OBJECT
public:
    static ImageViewer* instance();
    void view(const QString& path);

private:
    explicit ImageViewer(QWidget *parent = 0);
    ~ImageViewer();

    Q_DISABLE_COPY(ImageViewer)
    ImageViewPrivate* d_ptr;
};

} // namespace
#endif // IMAGEVIEW_H
